package com.ruoyi.common.core.domain.model.mini;

import java.io.Serializable;

/**
 * @Author: SongYF
 * @Date: 2021/11/13 8:26
 * @Description: 用户基本信息缓存
 * @Version: 1.0
 */
public class UserInfoCache implements Serializable {
    private static final long serialVersionUID = 3781787443379383673L;
    private Integer userId;
    private Integer roleId;
    private Integer regionId;
    private Integer investDeptFlag;
    private Integer unitAttributeFlag;

    public UserInfoCache() {
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public Integer getInvestDeptFlag() {
        return investDeptFlag;
    }

    public void setInvestDeptFlag(Integer investDeptFlag) {
        this.investDeptFlag = investDeptFlag;
    }

    public Integer getUnitAttributeFlag() {
        return unitAttributeFlag;
    }

    public void setUnitAttributeFlag(Integer unitAttributeFlag) {
        this.unitAttributeFlag = unitAttributeFlag;
    }

    @Override
    public String toString() {
        return "UserInfoCache{" +
                "userId=" + userId +
                ", roleId=" + roleId +
                ", regionId=" + regionId +
                ", investDeptFlag=" + investDeptFlag +
                ", unitAttributeFlag=" + unitAttributeFlag +
                '}';
    }
}
